package com.zjs.mybatis.service;

import com.zjs.mybatis.pojo.User;

import java.util.List;


public interface UserService {
	User selectUserByName(String username);
	int insertUser(User user);
	int deleteUser(int id);
	int updateUser(User user);
	List<User> selectAllUser();
	User selectById(int id);
	
	//批量插入用户
	int addUser(List<User> userList);
	int addUser2(List<User> userList);
	
	//批量更新操作
	
	int updateUserTwo(List<User> userList);
}
